
package co.edu.unal.satacredito.database.entity;

import com.google.code.morphia.annotations.Entity;
import com.google.code.morphia.annotations.Id;
import com.google.code.morphia.annotations.Indexed;
import com.google.code.morphia.utils.IndexDirection;
import org.bson.types.ObjectId;

/**
 *
 * @author Miguel Alexander Diaz
 * 257835
 */
@Entity
public class Brand {
    @Id
    private ObjectId id;
    @Indexed(value= IndexDirection.ASC,unique=true)
    private String brandName;
    @Indexed(value= IndexDirection.ASC,unique=true)
    private long nit;
    private String CEOFirstName;
    private String CEOLastName;
    @Indexed(value= IndexDirection.ASC,unique=true)
    private long CEODocument;
    private String email;
    private long phoneNumber;
    private String status;

    public Brand() {
    }
    
    public Brand(String id) {
        this.id = new ObjectId(id);
    }

    public String getCEOFirstName() {
        return CEOFirstName;
    }

    public void setCEOFirstName(String CEOFirstName) {
        this.CEOFirstName = CEOFirstName;
    }

    public long getCEODocument() {
        return CEODocument;
    }

    public void setCEODocument(long CEODocument) {
        this.CEODocument = CEODocument;
    }

    public String getCEOLastName() {
        return CEOLastName;
    }

    public void setCEOLastName(String CEOLastName) {
        this.CEOLastName = CEOLastName;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public ObjectId getId() {
        return id;
    }

    public String getBrandName() {
        return brandName;
    }

    public void setBrandName(String brandName) {
        this.brandName = brandName;
    }

    public long getNit() {
        return nit;
    }

    public void setNit(long nit) {
        this.nit = nit;
    }

    public long getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(long phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
    
}
